package descriptors;

public class ConstDescr extends AbstractDescr {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1999947373194436683L;
	int value;

	public ConstDescr(int level, int value) {
		// ConstDescr has always the size of 1
		super(1, level);
		this.value = value;
	}
	
	public int value(){
		return value;
	}
	
	@Override
	public void print() {
		trace("ConstDescr: "+value+"; level: "+level);
		unindent();
	}

}
